package com.kuyun.service;

import java.util.Date;
import java.util.List;

import com.kuyun.entity.User1;
import com.kuyun.entity.UserComment;

public interface LoginService {
	
	// 查询用户是否存在
	public User1 getUser1(String userId, String password);
	
	// 用户注册
	public int doRegister(String userId,String userName,String password,int userAge,String userSex);
	
	// 查询用户名
	public String getUserName(String userId);
	
	// 保存发表数据
	public int doCommentSave(String userId, String userName, String comment, Date curDate);
	
	// 查询发表数据
	public List<UserComment> getCommentList(String userId);
	
	// 删除发表信息
	public int delectComment(String comment);

}
